<template>
  <el-icon :size="size">
    <svg>
      <use :xlink:href="'#icon-' + iconName" />
    </svg>
  </el-icon>
</template>

<script setup>

defineProps({
  iconName: String,
  size: {
    type: Number,
    default: 12
  },
  color: String
})
</script>
